Milepost equation